﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@model sipfe.model.dataAccess.SIPMaeEmpresa
<script type="text/javascript">
    $(function () {
        setAutoAyudaEmpresa("#nIdePersona1", "#nIdeCodPaisDoc1", "#nIdeTipoDocum1", "#vNumDocum1", "#vNombresPersona1", "/AutoAyuda/ListaPersonaAuto", "1");
        setAutoAyudaEmpresa("#nIdePersona1", "#nIdeCodPaisDoc1", "#nIdeTipoDocum1", "#vNombresPersona1", "#vNumDocum1", "/AutoAyuda/ListaPersonaAuto", "2");
       // inicioPopPupModal("#detalle2", 450, 850, "xxLISTADO DE PERSONAS ENCONTRADAS");
    });
</script>
@{   
    int i = 0;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

@using Resources;
<script type="text/javascript" language="javascript" src="@Url.Content(@properties.mantePersonaJS)"></script>
<script type="text/javascript" language="javascript" src="@Url.Content(@properties.autocompleteJS)" ></script>
<div class="divOver4" id="divContactoEmpresa">@RenderPage("../Shared/RODatosContactoEmpresa.cshtml")</div>
<br />
<fieldset style="width: 730px;" class="fieldsetStyle1">
    <legend class="tituloBlue9">Registrar Nuevo contacto</legend>
    <table border="0" style="width: 100%;" cellpadding="0" cellspacing="0">
        <tr>
            <td align="center">
                <table border="1" style="width: 730px;" cellpadding="0" cellspacing="0" class="tablaDetalle1">
                    <tbody class="tituloCelesteN8">
                        <tr align="center">
                            <td>País Emisor<span class="asterisco">(*)</span></td>
                            <td>Tipo documento<span class="asterisco">(*)</span></td>
                            <td>Número documento<span class="asterisco">(*)</span></td>
                            <td>Nombre del contacto<span class="asterisco">(*)</span></td>
                            <td rowspan="5">
                                <img src="@Url.Content("~/images/check.jpg")" class="lupita2" alt="AGREGAR"  onclick="javascript:registrarContactoEmpresa('#divContactoEmpresa','2');"/></td>
                        </tr>
                        <tr align="center">
                            <td>@Html.DropDownList("nIdeCodPaisDoc1", (IEnumerable<SelectListItem>)ViewBag.PaisEmisor, new { @class = "select8" })</td>
                            <td>@Html.DropDownList("nIdeTipoDocum1", (IEnumerable<SelectListItem>)ViewBag.TipoDocIdent, "--Seleccione--", new { @class = "select8" })</td>
                            <td>@Html.TextBox("vNumDocum1", null, new { style = "width:60px;", maxlength = 10 })</td>
                            <td>@Html.TextBox("vNombresPersona1", null, new { style = "width:300px;", maxlength = 120 })<img src="@Url.Content("~/images/buscar.gif")" class="lupita2" alt="CONSULTAR PERSONA" onclick="javascript:buscarPersonaMante('#detalle2','1');"/><input type="hidden" id="nIdePersona1" /></td>
                        </tr>
                        <tr><td colspan="4" id="botonClic">&nbsp;</td></tr>
                        <tr>
                            <td colspan="3">Cargo del contacto<span class="asterisco">(*)</span></td>
                            <td colspan="1">Tipo contacto</td>
                        </tr>
                        <tr>
                            <td colspan="3">@Html.DropDownList("nIdeCargo", (IEnumerable<SelectListItem>)ViewBag.CargoLaboral, "--Seleccione--", new { @class = "select8" })</td>
                            <td colspan="1">@Html.DropDownList("nIdeTipoContacto", (IEnumerable<SelectListItem>)ViewBag.TipoContacto, "--Seleccione--", new { @class = "select8" })</td>
                        </tr>
                    </tbody>
                </table>
            </td>
        </tr>
        <tr>
            <td>&nbsp;</td>
        </tr>
    </table>
</fieldset>
 <table border="0" style="width: 720px;" cellpadding="10" cellspacing="0">
    <tr>
        <td>El campo es obligatorio<span class="asterisco">(*)</span></td>
    </tr>
</table>
<div id="detalle2"></div>

